package br.com.hermes.bt;

public abstract class HmService {
	
	private HmStream hmStream;
	private HmBluetoothDevice remoteDevice;

	public abstract boolean start() throws HmException;
	public abstract void finish() throws HmException;

	/**
	 * @return the hmStream
	 */
	public HmStream getHmStream() {
		return hmStream;
	}

	/**
	 * @param hmStream
	 *          the hmStream to set
	 */
	public void setHmStream(HmStream hmStream) {
		this.hmStream = hmStream;
	}
	/**
	 * @return the remoteDevice
	 */
	public HmBluetoothDevice getRemoteDevice() {
		return remoteDevice;
	}
	/**
	 * @param remoteDevice the remoteDevice to set
	 */
	public void setRemoteDevice(HmBluetoothDevice remoteDevice) {
		this.remoteDevice = remoteDevice;
	}
	
	
}
